var nbZombis;
var nbZombisExplosion;

nbZombis = instance_number(obj_zombi);
explosionIsOver = (instance_number(obj_zombi_explosion) + instance_number(obj_player_explosion)) <= 1;
playerListener = instance_find(obj_player_listener,0);

if( ((nbZombis <= 0) && explosionIsOver) || ( (playerListener.nbExplosion == playerListener.maxExplosion) && explosionIsOver) )
{ 
    summary = instance_create(0,0,obj_level_summary);
    playerListener.enable = false;
}
   


